package com.cy.personer.mapper;

import com.cy.personer.bean.Advert;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface AdvertMapper {
    //↓↓↓↓↓↓↓↓↓↓↓↓林少艺↓↓↓↓↓↓↓↓↓↓↓↓
    //获取广告列表
    List<Advert> getAdverts(Advert advert);
    //获取广告详情
    Advert getAdvert(Advert advert);
    //假删除广告
    int delAdvert(Advert advert);
    //增加广告
    int addAdvert(Advert advert);
    //修改广告
    int updateAdvert(Advert advert);
    //↑↑↑↑↑↑↑↑↑↑↑↑↑林少艺↑↑↑↑↑↑↑↑↑↑↑
  //显示广告
    List<Advert>quers();

}
